﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Corina.Web.IMS.Login" %>

<%--<%@ Register Assembly="FineUI" Namespace="FineUI" TagPrefix="fineUI" %>--%>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>登录</title>
</head>
<body>
    <form id="form1" runat="server">
        <fineUI:PageManager runat="server" />
        <fineUI:Window runat="server" Title="登录" IsModal="false" EnableClose="false"
            WindowPosition="GoldenSection" Width="350px">
            <Items>
                <fineUI:SimpleForm runat="server" ShowBorder="false" BodyPadding="10px"
                    LabelWidth="60px" ShowHeader="false">
                    <Items>
                        <fineUI:TextBox ID="tbxUserName" Label="用户名" Required="true" runat="server">
                        </fineUI:TextBox>
                        <fineUI:TextBox ID="tbxPassword" Label="密码" TextMode="Password" Required="true" runat="server">
                        </fineUI:TextBox>
                        <fineUI:TextBox ID="tbxCaptcha" Label="验证码" Required="true" runat="server">
                        </fineUI:TextBox>
                        <fineUI:Panel CssStyle="padding-left:65px;" ShowBorder="false" ShowHeader="false"
                            runat="server">
                            <Items>
                                <fineUI:Image ID="imgCaptcha" CssStyle="float:left;width:160px;" runat="server">
                                </fineUI:Image>
                                <fineUI:LinkButton CssStyle="float:left;margin-top:8px;" ID="button_refresh" Text="看不清？"
                                    runat="server" OnClick="button_refresh_Click">
                                </fineUI:LinkButton>
                            </Items>
                        </fineUI:Panel>
                    </Items>
                </fineUI:SimpleForm>
            </Items>
            <Toolbars>
                <fineUI:Toolbar ID="Toolbar1" runat="server" Position="Footer" ToolbarAlign="Right">
                    <Items>
                        <fineUI:HyperLink runat="server" CssStyle="float:left;margin-right:20px;" NavigateUrl="./Register.aspx" Text="注册新账户"/>
                        <fineUI:Button ID="button_login" Text="登录" Type="Submit" ValidateForms="SimpleForm1" ValidateTarget="Top"
                            runat="server" OnClick="button_login_Click">
                        </fineUI:Button>
                    </Items>
                </fineUI:Toolbar>
            </Toolbars>
        </fineUI:Window>
    </form>
</body>
</html>
